home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11631 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.1 KB

  1. Path: Gamma.RU!srcc!newsserver
  2. References: <4i7i5n$fst@access4.digex.net>
  3. Message-ID: <AB-2IInun4@r-style.msk.su>
  4. Organization: JV R-Style
  5. From: Eugene K. Plaude <jec@r-style.msk.su>
  6. Date: Fri, 15 Mar 96 10:48:14 +0300
  7. X-Mailer: BML [MS/DOS Beauty Mail v.1.36]
  8. Subject: Re: HP C++ Compiler Problem w/ templates
  9. Newsgroups: comp.lang.c++
  10. Distribution: all
  11. Sender: news-service@srcc.msu.su
  12. X-Return-Path: gamma!rstyle!r-style.msk.su!jec
  13.  
  14. Hi Chris,
  15.  
  16. I've tried to compile string7.cpp from  command line :
  17.  
  18. CC +a1 -z -I/opt/systkt -I/opt/systkt/include
  19. -DOS_HPUX_9 -DOS_USE_SHORT_NAMES string7.cpp -L/opt/systkt/lib -lospace -o string7
  20.  
  21. have got warning, but have got loadable module.
  22.  
  23. For the SoftBench put in all C++ flags in the COMPFLALGS Makefile variable
  24. and set LDFLAGS=$(COMPFLAGS) -L/opt/systkt/lib.
  25.  
  26. My environment is : HP-UX 10.01, E45, HP C++ 10.09, patch PHSS_6246.
  27.  
  28. Hope this information'll help you.
  29.  
  30. Best Regards,
  31. Eugene K. Plaude                    E-mail      : jec@r-style.msk.su
  32. R-Style Software Lab Ltd.           Fax         : (+7)(095) 903-0625
  33. Bank Systems Research Department    Tel         : (+7)(095) 187-9433
  34. 38/1, Decabristov Str,                                      187-7636
  35. Moscow, 127273, Russia                                      181-3819
  36.  
  37.  
  38.  
  39. >   The HP compiler is generating a file in the ptrepository directory,
  40. >   which fails to compile on the link step. It seems that this file is
  41. >   missing a #include. If I add the #include manually and CC that file,
  42. >   it will compile. If I go back up to the src directory and recompile,
  43. >   the file gets regenerated in the ptrepository subdirectory and the
  44. >   compile again fails on the link step.
  45. >
  46. >   Has anyone else had this sort of problem? Is there workaround for it?
  47. >   Some switch I need to pass to CC??
  48. >
  49. >   Any help Appreciated!!!!
  50. >
  51. >   Background info:
  52. >   I am using HP C++ Compiler, version: Softbench 4.0.6
  53. >   We are compiling on an HP 700 running 10.0.1
  54. >
  55. >   I am trying to compile some of the sample programs that come with
  56. >   Object Space's System<Toolkit>. Specifially, string7.cpp in the examples
  57. >   directory if that matters to anyone.
  58. >
  59. >
  60. >   Chris Ruegger
  61. >
  62. >
  63.